package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.SwimmingPool;

import java.util.List;

/**
 * 泳池Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ISwimmingPoolService 
{
    /**
     * 查询泳池
     * 
     * @param id 泳池ID
     * @return 泳池
     */
    public SwimmingPool selectSwimmingPoolById(Long id);

    /**
     * 查询泳池列表
     * 
     * @param swimmingPool 泳池
     * @return 泳池集合
     */
    public List<SwimmingPool> selectSwimmingPoolList(SwimmingPool swimmingPool);

    /**
     * 新增泳池
     * 
     * @param swimmingPool 泳池
     * @return 结果
     */
    public int insertSwimmingPool(SwimmingPool swimmingPool);

    /**
     * 修改泳池
     * 
     * @param swimmingPool 泳池
     * @return 结果
     */
    public int updateSwimmingPool(SwimmingPool swimmingPool);

    /**
     * 批量删除泳池
     * 
     * @param ids 需要删除的泳池ID
     * @return 结果
     */
    public int deleteSwimmingPoolByIds(Long[] ids);

    /**
     * 删除泳池信息
     * 
     * @param id 泳池ID
     * @return 结果
     */
    public int deleteSwimmingPoolById(Long id);
}
